package com.yanq.liancar.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.LinearLayout;

import com.vondear.rxtool.RxActivityTool;
import com.yanq.liancar.R;
import com.yanq.liancar.activity.base.BaseToolbarActivity;
import com.yanq.liancar.util.Utils;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class SmallBAboutActivity extends BaseToolbarActivity {
    @BindView(R.id.ll_Legaldeclaration)
    LinearLayout llLegaldeclaration;
    @BindView(R.id.ll_evaluate)
    LinearLayout llEvaluate;
    @BindView(R.id.ll_Versionupdate)
    LinearLayout llVersionupdate;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_small_b_about);
        ButterKnife.bind(this);
        Utils.setStatusBar(this, true, false);
        mTvTitle.setText("关于致迈车联");
    }

    @OnClick({R.id.ll_Legaldeclaration, R.id.ll_evaluate, R.id.ll_Versionupdate})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.ll_Legaldeclaration:          //法律声明
                RxActivityTool.skipActivity(this, LegalDeclarationActivity.class);
                break;
            case R.id.ll_evaluate:                  //评价致迈车联
                break;
            case R.id.ll_Versionupdate:             //版本升级
                break;
        }
    }
}
